package com.cmcc.speed.utils

import android.Manifest

/**
 * @auth: gxa
 * @date: 2022/12/10
 * @desc: 常量管理工具类
 */
object Constants {
    const val REQUEST_CODE_PERMISSIONS = 101
    const val REQUEST_CODE_CAMERA = 102
    const val REQUEST_CODE_CROP = 103

    const val DATE_FORMAT = "yyyy-MM-dd HH.mm.ss"
    const val PHOTO_EXTENSION = ".jpg"

    val REQUIRED_PERMISSIONS = arrayOf(
        Manifest.permission.CAMERA,
        Manifest.permission.WRITE_EXTERNAL_STORAGE,
        Manifest.permission.READ_EXTERNAL_STORAGE,
        Manifest.permission.ACCESS_FINE_LOCATION,
        Manifest.permission.ACCESS_COARSE_LOCATION
    )
}